import requests from './request'

// 热售商品列表信息
// http://127.0.0.1:4523/m1/1261428-0-default/homeSale   post
export const reqSaleDetials = () => requests({
  url: '/homeSale',
  method: 'post'
})

// 新款商品列表信息
// http://127.0.0.1:4523/m1/1261428-0-default/homeNew   post
export const reqNewDetials = () => requests({
  url: '/homeNew',
  method: 'post'
})

// 购物车
// http://127.0.0.1:4523/m1/1261428-0-default/car   post
export const reqCar = () => requests({
  url: '/car',
  method: 'post'
})

// 我的订单
// http://127.0.0.1:4523/m1/1261428-0-default/order  post
export const reqOrder = () => requests({
  url: '/order',
  method: 'post'
})

// 中间热售部分 /moddle
export const reqModdle = () => requests({ url: '/moddle', method: 'post' })
